package DB;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

public class DAOManager {
		
		String JDBC_DRIVER;
		String DB_URL;
		Connection conn;
		public		DAOManager() throws ClassNotFoundException, SQLException{
			JDBC_DRIVER="com.mysql.jdbc.Driver";
			DB_URL="jdbc:mysql://192.168.12.85/investworks";
			Class.forName("com.mysql.jdbc.Driver");
			conn = DriverManager.getConnection(DB_URL,"root","");
			
		}
	public Connection getConnection(){
		return conn;
	}
		
}
